package com.market.service.wx;

import com.market.bean.MarketCoupon;
import com.market.bean.common.BasePageInfo;
import com.market.bean.common.BaseRespVo;
import com.market.bean.common.CommonData;
import com.market.bean.vo.wx.WxCouponMyListVo;

/**
 * @Author:WalterChan
 * @Decription:WxCouponService
 * @Date Created in 2023-01-02-16:09
 */
public interface WxCouponService {
    CommonData<MarketCoupon> list(BasePageInfo info);

    CommonData<WxCouponMyListVo> myList(BasePageInfo info, Integer status,Integer userId);

    CommonData<WxCouponMyListVo> selectlist(Integer cartId,Integer userId);

    Integer receive(Integer couponId, Integer userId);

    BaseRespVo exchange(Integer userId, String code);
}
